﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk
{
    /// <summary>
    /// 自定义会诊信息
    /// </summary>
    public class CustomConsultationInfo
    {
        /// <summary>
        /// 视频通话Id
        /// </summary>
        [JsonProperty("call_id")]
        public string Call_Id { get; set; }
        /// <summary>
        /// 呼叫状态
        /// 1呼叫中
        /// 2.取消
        /// 4.已结束
        /// </summary>
        [JsonProperty("action")]
        public CallStatus Call_Status { get; set; }
        ///// <summary>
        ///// 邀请人列表
        ///// </summary>
        //[JsonProperty("invited_list")]
        //public string[] Invited_List { get; set; }

        /// <summary>
        /// 2 视频
        /// 1.语音
        /// </summary>
        [JsonProperty("call_type")]
        public CallType Call_Type { get; set; }
        /// <summary>
        /// 房间号
        /// </summary>
        [JsonProperty("roomid")]
        public int Room_Id { get; set; }

        [JsonProperty("version")]
        public string Version { get; set; }


        [JsonProperty("videoid")]
        public string[] VideoId { get; set; }
    }
}
